using MicroMsg.Manager;
using MicroMsg.Storage;
using System;
namespace MicroMsg.UI.Util
{
	public class SnsInfoHelper
	{
		public static bool isSnsInfoCanDel(SnsInfo info)
		{
			return info.strUserName == AccountMgr.strUsrName && info.nStatus != 2 && info.nStatus != 1;
		}
		public static bool isSnsInfoCanCmt(SnsInfo info)
		{
			return info.strUserName != AccountMgr.strUsrName || info.nStatus == 3 || info.nStatus == 0;
		}
	}
}
